/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bsd5ex.group1.kaokang.dao;

import com.bsd5ex.group1.kaokang.config.TableNameConstants;
import com.bsd5ex.group1.kaokang.model.Material;
import java.util.List;

/**
 *
 * @author VAIO
 */
public class MaterialDAO extends AbstractDAO<Material> {

    public static void main(String[] args)
    {
        MaterialDAO dao = new MaterialDAO();
        List<Material> ingrdList = dao.listAll();
        for (Material ingradient : ingrdList) {
            System.out.println(ingradient.getMaterialName());
        }
        System.out.println("END");
    }
}
